projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5224302
)
icon-helper: don't reset pixel_size when clearing the helper
author
Cosimo Cecchi
<cosimoc@gnome.org>
Wed, 30 Nov 2011 23:15:05 +0000
(18:15 -0500)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Wed, 30 Nov 2011 23:15:05 +0000
(18:15 -0500)
Don't reset the pixel size when clearing the helper; pixel-size is e.g a
property of GtkImage, which is stable unless explicitly set.
gtk/gtkiconhelper.c
patch
|
blob
|
history
diff --git
a/gtk/gtkiconhelper.c
b/gtk/gtkiconhelper.c
index 081e619fcd9bfa4976ce204a2123a31774136122..46724f9197b79f0342c719c93a6e3c99afdb735e 100644
(file)
--- a/
gtk/gtkiconhelper.c
+++ b/
gtk/gtkiconhelper.c
@@
-66,7
+66,6
@@
_gtk_icon_helper_clear (GtkIconHelper *self)
self->priv->storage_type = GTK_IMAGE_EMPTY;
self->priv->icon_size = GTK_ICON_SIZE_INVALID;
- self->priv->pixel_size = -1;
self->priv->last_rendered_state = GTK_STATE_FLAG_NORMAL;
}